package com.lm.Builder;

/**
 * 黑人具体建造者
 */
public class BlackHumanBuilder implements HumanBuilder{

    private Human human;

    public BlackHumanBuilder(){
        human = new Human();
    }

    @Override
    public void builderHeader() {
        human.setHeader("黑人头部构建成功");
    }

    @Override
    public void builderHands() {
        human.setHands("黑人手部构建成功");
    }

    @Override
    public void builderFoot() {
        human.setFoot("黑人足部构建成功");
    }

    @Override
    public Human getResult() {
        return human;
    }
}
